package cn.itcast.hotel.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties(prefix = "es")
public class ESProperties {
    private String host = "localhost";
    private Integer port = 9200;
}
